package course.cmsc436.medication;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

public class Medication implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8813771099012116959L;
	//http://healthprovidersdata.com/HIPAA/Codes/NDC_62011-0210.aspx
	private String proprietaryName;//Health Mart Z Sleep
	
	private int pillsPerDose;
	private int timesPerDay;
	private ArrayList<Date>times;
	
	public Medication(String proprietaryName){
		this.proprietaryName = proprietaryName;
	}
	
	/**
	 * @return the pillsPerDose
	 */
	public int getPillsPerDose() {
		return pillsPerDose;
	}

	/**
	 * @param pillsPerDose the pillsPerDose to set
	 */
	public void setPillsPerDose(int pillsPerDose) {
		this.pillsPerDose = pillsPerDose;
	}


	/**
	 * @return the timesPerDay
	 */
	public int getTimesPerDay() {
		return timesPerDay;
	}

	/**
	 * @param timesPerDay the timesPerDay to set
	 */
	public void setTimesPerDay(int timesPerDay) {
		this.timesPerDay = timesPerDay;
	}

	/**
	 * @return the times
	 */
	public ArrayList<Date> getTimes() {
		return times;
	}

	/**
	 * @param times the times to set
	 */
	public void setTimes(ArrayList<Date> times) {
		this.times = times;
	}

	/**
	 * @return the proprietaryNam
	 */
	public String getProprietaryName() {
		return proprietaryName;
	}
}
